<template>
    <div>
        <input type="text" v-model="form.tltle">
        <button @click="add">添加</button>
    </div>
</template>

<script>
    export default {
        data(){
            return{
                form:{}
            }
        },
        methods:{
            add(){
                this.$axios.post('http://localhost:5000/test',this.form)
                .then(res=>{
                    
                })
            }
        }
    }
</script>

<style scoped>

</style>

    
